'use strict';if(!window.__code_9843uhi3r8d383){window.__code_9843uhi3r8d383=!0;HTMLCollection.prototype[Symbol.iterator]||(HTMLCollection.prototype[Symbol.iterator]=[][Symbol.iterator]);let k,g,q;window.addEventListener("message",r,!0);window==top&&chrome.runtime.onMessage.addListener((a,c,b)=>{if(a.viewportPoint)return q=b,a.viewportPoint[0]/=window.devicePixelRatio,a.viewportPoint[1]/=window.devicePixelRatio,r({source:window,data:a}),!0});function r(a){if(a.source==parent&&a.data.viewportPoint){let e=
a.data.viewportPoint;g=[];k=[];var c=document.elementsFromPoint(...e);c[0]&&c[0].shadowRoot&&(c=c[0].shadowRoot.elementsFromPoint(...e));for(var b=c[0];b;b=b.parentElement)m(b)&&l(b);if(a.data.smartMode&&!n()){for(var h of c.slice(1))m(h,!0)&&l(h);if(!n())if(b=t(c,f=>m(f,!0),...e))l(b);else{b=f=>(getComputedStyle(f).backgroundImage.match(/url\("(.+?)"\)/)||[])[1];for(var d of c)if(h=b(d)){l(d,["IMG",h]);break}n()||(d=t(c,b,...e))&&l(d,["IMG",b(d)])}}if((c=c[0])&&"IFRAME"==c.tagName){d=c.getBoundingClientRect();
b=getComputedStyle(c);e[0]-=d.left+parseFloat(b.borderLeftWidth)+parseFloat(b.paddingLeft);e[1]-=d.top+parseFloat(b.borderTopWidth)+parseFloat(b.paddingTop);c.contentWindow.postMessage(a.data,"*");return}}a.data.elemsFromPoint&&g.unshift(...a.data.elemsFromPoint);window==top?q(g):parent.postMessage({elemsFromPoint:g},"*")}function n(){for(let a of g)if("A"!=a[0])return!0}function m(a,c){return String(a.currentSrc||a.src||a.href&&a.href.baseVal||a.href).match(/^[a-z]{2,5}:/)&&(!c||"A"!=a.tagName)&&
(!a.naturalWidth||3<a.naturalWidth&&3<a.naturalHeight)}function t(a,c,b,h){for(let e of a)for(let f of e.getElementsByTagName("*"))if(c(f)){var d=f.getBoundingClientRect();if(d.left<=b&&b<=d.right&&d.top<=h&&h<=d.bottom)for(d=0;d<=a.length;++d){let p=a[d];if(f==p)break;if(!p||p.contains(f))return a.splice(d,0,f),f}}}function l(a,c){c||(c=[a.tagName,a.currentSrc||a.src||a.href.baseVal||a.href]);for(let b=0;b<=k.length&&(!g[b]||c[0]!=g[b][0]||c[1]!=g[b][1]);++b)if(!k[b]||k[b].contains(a)){k.splice(b,
0,a);g.splice(b,0,c.concat(location.href));break}}};
